local InnerDataManagerFL = require("innerdata.InnerDataManagerFL")
local InnerDataDefine = require("innerdata.Define")
--local Util = require("common.Util")
local ObjHuman = require("core.ObjHuman")
local DailyActFL = require("activity.DailyActFL")
local ActDefine = require("activity.Define")
local WorldBossLogicL = require("worldboss.WorldBossLogicL")


function W2LProcess(human, type, nData)
    if nData.type == 1 then --活动开始
        WorldBossLogicL.onCreateBoss(nData)
    elseif nData.type == 2 then --活动结束
        WorldBossLogicL.onClose(nData)
    end
end

InnerDataManagerFL.Register(InnerDataDefine.INNERDATA_TYPE_WORLDBOSS, W2LProcess)
